package 正则表达式;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Reg7 {
    public static void main(String[] args) {
        String s="java23mysql54html4user45 book=student  ===Teacher";
        Pattern p=Pattern.compile("[a-zA-z]+");
        Matcher m=p.matcher(s);
        int i=0;
        while(m.find()){
            System.out.printf("%d=%s%n",i++,m.group());
        }

    }
}
